<input type="number" placeholder="placeholder">
<script>
document.querySelector('input').focus();
document.execCommand('inserttext', false, '---');
</script>
